/* eslint-disable */

import api from '@/api/api'
import http from '@/libs/ajax'
import { awaitWrap } from '@/libs/tools'

export const queryEnvironment = async params => {
  // send request
  return awaitWrap(http.post(api.query_environment_list, params))
}
export const queryApp = async params => {
  // send request
  return awaitWrap(http.post(api.search_app_name, params))
}
export const updateVersion = async params => {
  // send request
  return awaitWrap(http.post(api.update_version, params))
}
export const getUagReloadOutline = async params => {
  // send request
  return awaitWrap(http.post(api.get_uag_reload_outline, params))
}
export const getUagReloadDetail = async params => {
  // send request
  return awaitWrap(http.post(api.get_uag_reload_detail, params))
}
export const getUagReloadDict = async params => {
  // send request
  return awaitWrap(http.get(api.get_uag_reload_dict, params))
}
